package com.yh.base.vo;

/**
 * 返回结果为了能够规范，故使用此Bean
 * @author hujun
 *
 */
public class ResultInfoBean {
    private String code = "1"; // 1：正常  0：异常  etc.
    private String msg = "处理结果正确";

    public ResultInfoBean() {
    }
    
    public ResultInfoBean(String code) {
        this.code = code;
    }
    
    public ResultInfoBean(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
